package com.kuaimacode.kframework.mybatis.mapper.agent;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.kuaimacode.kframework.mybatis.models.agent.SysAgentCategoryCfg;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

/**
 * <p>
  * 分站物品品类设置 Mapper 接口
 * </p>
 *
 * @author Bean
 * @since 2019-03-12
 */
public interface SysAgentCategoryCfgMapper extends BaseMapper<SysAgentCategoryCfg> {


    void init(@Param("agentId") String agentId ,@Param("userId") Long userId);

    List<SysAgentCategoryCfg> queryAgentNotAddCategory(@Param("agentId") String agentId , @Param("type")String type);


    void deleteAllAgentCategory(@Param("id") String id);
}